﻿using System;
namespace Citi.HeadCount.Domain
{
    public class EntityBase
    {
        public virtual int Id { get; set; }
        public virtual DateTime ReferenceDate { get; set; }
        public virtual DateTime LastUpdate { get; set; }

        public virtual void UpdateDates(DateTime referenceDate)
        {
            LastUpdate = DateTime.Now;
            ReferenceDate = referenceDate;
        }

        public virtual bool IsSameInformation(EntityBase entity)
        {
            throw new NotImplementedException();
        }
    }

}